package com.guigu.qingcheng.service;

import com.qingcheng.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(value = "service-business")
public interface AdService {

    @GetMapping("/business/ad/findByPosiPtion")
    public Result findByPosiPtion(@RequestParam String position);

}
